<!-- INCLUDE overall_header.html -->

<a name="maincontent"></a>

<h1>{L_TITLE}</h1>

<p>{L_TITLE_EXPLAIN}</p>

<!-- IF S_ERROR -->
	<div class="errorbox">
		<h3>{L_WARNING}</h3>
		<p>{ERROR_MSG}</p>
	</div>
<!-- ENDIF -->

<!-- IF S_YUBIKEYS_EXIST -->
	<form id="acp_yubikeys" method="post" action="{U_SEARCH}">
	<fieldset class="quick">
		{L_YUBIKEY_SEARCH_FOR}: <!-- IF S_YUBIKEY_SEARCH_OPTIONS --><select name="search_options">{S_YUBIKEY_SEARCH_OPTIONS}</select><!-- ENDIF --> <input type="text" name="search_for" value="{S_YUBIKEY_SEARCH_FOR}" maxlength="20" /> <input class="button2" name="submit" type="submit" value="{L_SEARCH}" /><br />{S_FORM_TOKEN}
	</fieldset>
	</form>

	<!-- IF PAGINATION -->
		<div class="pagination" style="float: right; margin: 15px 0 2px 0">
			<a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{S_ON_PAGE}</a> &bull; <span>{PAGINATION}</span>
		</div>
		<div class="clearfix">&nbsp;</div>
		<div><br style="clear: both;" /></div>
	<!-- ENDIF -->

	<table cellspacing="1">
	<thead>
		<tr>
			<th>{L_USERNAME}</th>
			<th>{L_YUBIKEY_DEVICE_ID}</th>
			<th>{L_YUBIKEY_LASTLOGIN}</th>
			<th>{L_YUBIKEY_STATUS}</th>
			<th colspan="2">{L_OPTIONS}</th>
		</tr>
	</thead>
	<tbody>
		<!-- BEGIN yubikey -->
			<!-- IF yubikey.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
				<td style="width: 25%;">{yubikey.USER_NAME}</td>
				<td style="width: 25%;">{yubikey.DEVICE_ID}</td>
				<td style="width: 15%;">{yubikey.LASTLOGIN}</td>
				<td style="width: 10%; white-space: nowrap;" align="center">&nbsp;{yubikey.STATUS}&nbsp;</td>
				<td style="text-align: center;">&nbsp;<a href="{yubikey.U_ACTIVATE_DEACTIVATE}">{yubikey.L_ACTIVATE_DEACTIVATE}</a>&nbsp;</td>
				<td style="text-align: center;">&nbsp;<a href="{yubikey.U_DELETE}">Delete</a>&nbsp;</td>
			</tr>
		<!-- END yubikey -->
	</tbody>
	</table>

        <!-- IF PAGINATION -->
                <div class="pagination" style="float: right; margin: 15px 0 2px 0">
                        <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{S_ON_PAGE}</a> &bull; <span>{PAGINATION}</span>
                </div>
                <div class="clearfix">&nbsp;</div>
                <div><br style="clear: both;" /></div>
        <!-- ENDIF -->


<!-- ELSE -->
	<p>{L_NO_YUBIKEYS_ANY}</p>
<!-- ENDIF -->

<!-- INCLUDE overall_footer.html -->
